package com.dragon.common.modules.uaa.service.assistants;

import com.dragon.common.modules.uaa.service.assistants.def.AccountInitAssistant;
import com.dragon.common.spring.annotations.Assistant;
import org.apache.commons.lang.RandomStringUtils;

/**
 * @author Chris Chan
 * Create On 2025/8/8 下午2:04
 * Use for:
 * Explain:
 */
@Assistant
public class AccountInitAssistantImpl implements AccountInitAssistant {
    /**
     * 生成8位初始密码
     *
     * @return 密码
     */
    @Override
    public String generateInitPassword() {
        return RandomStringUtils.randomAlphanumeric(8);
    }
}
